home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / C Internet Config / Examples ƒ / Example / IC Resource ƒ / Syslog Component ƒ / syslog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-15  |  543 b   |  36 lines  |  [TEXT/SPM ]

  1. /*
  2.     syslog.h
  3.     
  4.     Header file for interfacing to the syslog component.
  5.     
  6. */
  7.  
  8. #pragma once
  9.  
  10. #ifndef __H_syslog__
  11. #define __H_syslog__
  12.  
  13. #include "syslog component.h"
  14. #include "sys/syslog.h"
  15.  
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19.  
  20. void syslog(short priority,const char* format,...);
  21. void openlog(const char* ident,short logopts,short facility);
  22. void closelog(void);
  23. short setlogmask(short mask);
  24.  
  25. OSErr syslogerr(void);
  26. OSErr setsyslogfile(FSSpecPtr spec);
  27. Boolean HaveComponentMgr(void);
  28.  
  29. #ifdef __cplusplus
  30. }
  31. #endif
  32.  
  33. #endif /* __H_syslog__ */
  34.  
  35.  
  36.